package com.ruoyi.training.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训计划课程关联对象 tb_train_plan_curriculum
 *
 * @author wng
 * @date 2024-08-04
 */
public class TrainPlanCurriculum extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 培训计划id
     */
    @Excel(name = "培训计划id")
    private Long planId;

    /**
     * 课程计划id
     */
    @Excel(name = "课程计划id")
    private Long curriculumId;

    /**
     * 0正常 1删除
     */
    private Integer delFlag;

    /**
     * 课程名称
     */
    private String curriculumName;

    public String getCurriculumName() {
        return curriculumName;
    }

    public void setCurriculumName(String curriculumName) {
        this.curriculumName = curriculumName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    public Long getPlanId() {
        return planId;
    }

    public void setCurriculumId(Long curriculumId) {
        this.curriculumId = curriculumId;
    }

    public Long getCurriculumId() {
        return curriculumId;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("planId", getPlanId())
                .append("curriculumId", getCurriculumId())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
